<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>渠道商资料</title>
    <link rel="stylesheet" href="css/upload.css"/>
    <link rel="stylesheet" href="css/index.css"/>
    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/plugins/footable/footable.all.min.js"></script>


    <!-- 分页js -->
    <script type="text/javascript" src="js/jquery.page.js"></script>
   

    <!-- 自定义js -->
   <script src="js/content.js?v=1.0.0"></script>
</head>
<body>
<div class="container">
    <div>请填入以下表单信息：</div>
    <div class="row-1">
        <div class="lf w-3">
            <span>店名字：</span>
            <input type="text" id="name" value=""/>
        </div>
        <div class="lf">
            <span>地址：</span>
            <input type="text" placeholder="详细地址" id="address"/>
        </div>
        <div class="clear"></div>
    </div>

    <div class="row-2">
        <div class="w-3 lf">
            <span>开店起始时间：</span>
            <input type="text" id="open_shop_time" >
        </div>
        <div class="lf">
            <span>租约到期日：</span>
            <input type="text" id="lease_time" >


        </div>
        <div class="clear"></div>
    </div>

    <div class="row-3">
        <div class="w-3 lf">
            <span>店主联系方式：</span>
            <input type="text" id="boss_phone"/>
        </div>
        <div class="lf w-3">
            <span>店员人数：</span>
            <input type="text" id="assistant_count"/>
        </div>
        <div class="lf">
            <span>前台预约电话：</span>
            <input type="text" id="appointment_phone"/>
        </div>
        <div class="clear"></div>
    </div>

    <div class="row-4">
        <div class="w-3 lf">
            <span>当前会员数：</span>
            <input type="text" id="members_count"/>
        </div>
        <div class="lf w-3">
            <span>店长联系方式：</span>
            <input type="text" id="manager_phone"/>
        </div>
        <div class="lf">
            <span>市场人员名字电话：</span>
            <input type="text" id="market_researchers"/>
        </div>
        <div class="clear"></div>
    </div>

    <div class="row-5">
        <div class="w-3 lf">
            <span>美容床数量：</span>
            <input type="text" id="beauty_bed_count"/>
        </div>
        <div class="lf w-3">
            <span>面积：</span>
            <input type="text" id="area"/>
        </div>
        <div class="lf">
            <span>店铺业务类型：</span>
            <input type="text" id="business"/>
        </div>
        <div class="clear"></div>
    </div>

    <div class="row-6">
        <div class="w-3 lf">
            <span>月新增会员数：</span>
            <input type="text" id="add_members_month"/>
        </div>
        <div class="lf w-3">
            <span>月新增会员充值金额：</span>
            <input type="text" id="add_members_month_money"/>
        </div>
        <div class="lf">
            <span>月租金：</span>
            <input type="text" id="rent_money"/>
        </div>
        <div class="clear"></div>
    </div>

    <div class="row-7">
        <div class="w-3 lf">
            <span>月新续费会员数：</span>
            <input type="text" id="month_renewal_count"/>
        </div>
        <div class="lf w-3">
            <span>月新续费会员金额：</span>
            <input type="text" id="month_renewal_money"/>
        </div>
        <div class="clear"></div>
    </div>
    <div class="row-7">
        <div class="w-3 lf">
            <span>备注信息：</span>
            <textarea id="beizhuMsg" cols="50"></textarea>
        </div>
        
    </div>
</div>

<div class="btn-box"><button onclick="saveMsg();">提交</button></div>





<div class="container pic">
    <div>请填入上传一下图片：</div>
    <div id="oldImg1">
    </div>
    <div class="case">
        <div class="upload" action='http://www.cxrent.com:8080/api/api/attachment/upload' id='case1'></div>
    </div>
</div>
<div class="btn-box"><button onclick="imgSave1();">保存</button></div>

<div class="container pic">
    <div>店铺图片（店铺门面、每个美容房间）：</div>
    <div id="oldImg2">
    </div>
    <div class="case">
        <div class="upload" action='http://www.cxrent.com:8080/api/api/attachment/upload' id='case2'>
        </div>
    </div>
</div>
<div class="btn-box"><button onclick="imgSave2();">保存</button></div>
<div class="container pic">
    <div>记账本照片，不低于3个月记录：</div>
    <div id="oldImg3">
    </div>
    <div class="case">
        <div class="upload" action='http://www.cxrent.com:8080/api/api/attachment/upload' id='case3'></div>
    </div>
</div>
<div class="btn-box"><button onclick="imgSave3();">保存</button></div>
<div class="container pic">
    <div>银行/支付宝/微信支付记录：</div>
    <div id="oldImg4">
    </div>
    <div class="case">
        <div class="upload" action='http://www.cxrent.com:8080/api/api/attachment/upload' id='case4'></div>
    </div>
</div>
<div class="btn-box"><button onclick="imgSave4();">保存</button></div>
<div class="container pic">
    <div>负责人（法人）身份证照片</div>
    <div id="oldImg5">
    </div>
    <div class="case">
        <div class="upload" action='http://www.cxrent.com:8080/api/api/attachment/upload' id='case5'></div>
    </div>
</div>
<div class="btn-box"><button onclick="imgSave5();">保存</button></div>
<div class="container pic">
    <div>市场人员与店员集体照：</div>
    <div id="oldImg6">
    </div>
    <div class="case">
        <div class="upload" action='http://www.cxrent.com:8080/api/api/attachment/upload' id='case6'></div>
    </div>
</div>
<div class="btn-box"><button onclick="imgSave6();">保存</button></div>
<div class="container pic">
    <div>营业执照：</div>
    <div id="oldImg7">
    </div>
    <div class="case">
        <div class="upload" action='http://www.cxrent.com:8080/api/api/attachment/upload' id='case7'></div>
    </div>
</div>
<div class="btn-box"><button onclick="imgSave7();">保存</button></div>
<div class="container pic">
    <div>大众点评截图：</div>
    <div id="oldImg8">
    </div>
    <div class="case">
        <div class="upload" action='http://www.cxrent.com:8080/api/api/attachment/upload' id='case8'></div>
    </div>
</div>
<div class="btn-box"><button onclick="imgSave8();">保存</button></div>
<!--<div class="container txt">
    <div>其他：</div>
    <textarea name="" id="" cols="100" rows="10"></textarea>
</div>-->






<script src="js/laydate.js"></script>
<script type="text/javascript">
    !function(){
        laydate.skin('molv');//切换皮肤，请查看skins下面皮肤库
        laydate({elem: '#demo'});//绑定元素
    }();
    laydate({
        elem: '#demo2'
    });

</script>
<script src="js/jquery.min.js"></script>
<script src="js/jQuery.upload.min.js"></script>
<script>
    $(function(){
        $("#case1").upload();
        $("#case2").upload();
        $("#case3").upload();
        $("#case4").upload();
        $("#case5").upload();
        $("#case6").upload();
        $("#case7").upload();
        $("#case8").upload();
    })
</script>
<script src="js/core.js"></script>
    <script src="js/channel_base.js"></script>
    <script src="js/jQuery.upload.min.js"></script>
</body>
</html>